package com.pz.sjxypz;

import com.pub.dbtools.DataGrid;
import java.util.Map;

/**
 * Created by THINK T460P on 2017/7/19.
 */
public interface sjxypzServiceI {

    public abstract DataGrid getOneList(Map tmpMap);

    /**
     * 第2表批量编辑数据列表
     */
 /*   public abstract DataGrid getBatchTwoList(Map tmpMap);

    *//**
     * 第2表批量编辑数据列表
     */
    public abstract DataGrid getTwoList(Map tmpMap);

    /**
     * 第3表数据列表
     *//*
    public abstract DataGrid getThreeList(Map tmpMap);

    *//**
     * 第4表数据列表
     *//*
    public abstract DataGrid getFourList(Map tmpMap);

    *//**
     * 第5表数据列表
     *//*
    public abstract DataGrid getFiveList(Map tmpMap);

    *//**
     * 第3表新增提交
     *
     *
     * @param pkId
     * @return
     *//*
    public abstract String insThreeTj(Hashtable<String, String> tmphash,
                                      String pkId);

    *//**
     * 第3表编辑提交
     *
     *
     * @param pkId
     * @return
     *//*
    public abstract String updThreeTj(Hashtable<String, String> tmphash);

    *//**
     * 第4表编辑提交
     *
     *
     * @param pkId
     * @return
     *//*
    public abstract String updFourTj(Hashtable<String, String> tmphash);

    *//**
     * 第4表新增提交
     *
     *
     * @param pkId
     * @return
     *//*
    public abstract String insFourTj(Hashtable<String, String> tmphash,
                                     String pkId);

    *//**
     * 第5表新增提交
     *
     * @param pkId
     * @return
     *//*
    public abstract String insFiveTj(Hashtable<String, String> tmphash,
                                     String pkId);

    public abstract ArrayList makeUpd(String[] tmpstr, ArrayList tmparr,
                                      String mode);

    public abstract String checkDouble(String keyid,
                                       javax.servlet.http.HttpServletRequest request);

    public abstract String checkDoubleSql(String keyid,
                                          javax.servlet.http.HttpServletRequest request);

    public abstract String symk(String keyid);

    public abstract String makeSqlZd(String fd_tname, String currentdb,
                                     String currentuser);

    public abstract void makeFilt(String fd_datasource_id, String currentdb,
                                  String currentuser);

    public abstract void makeChange(String fd_datasource_id, String currentdb,
                                    String curruser);

    public abstract String makeTempSql(String filtsql);

    public abstract String make_inssql(ArrayList tmp, String id,
                                       String realsel, DataSimpDto tmpvo, ArrayList metaInfo,
                                       String fieldName, String realName, int inOrder);

    public abstract String make_inssql(ArrayList tmp, String id,
                                       String realsel, DataSimpDto tmpvo, String nowpk, ArrayList tmparr,
                                       String currdb, String curruser);

    public abstract String fjmx_sqllb(String strid, String currdb,
                                      String curruser, String fd_locksumsql)
            throws javax.servlet.ServletException, java.io.IOException;

    public abstract String fjmx_sqllb1(String strid, String currdb,
                                       String curruser, String fd_locksumsql)
            throws javax.servlet.ServletException, java.io.IOException;

    public abstract String jvalue(String sOneTableID, String currentdb,
                                  String currentuser);

    public abstract ArrayList make_filed(String insql, int orderno, String sql);

    public abstract String deleteOne(String pkId);

    // 复制
    public abstract String copyOne(String pkId);

    public abstract String deleteThree(String pkId);

    public abstract String deleteFour(String pkId);
    public abstract String deleteFive(String pkId);

    // 构造SQL语句
    public abstract String makeInsSession(Hashtable tmphash,
                                          javax.servlet.http.HttpServletRequest request);

    public abstract DataSimpDto getOneCont(String keyid);

    public abstract DataSimpDto getThreeCont(String keyid);

    public abstract DataSimpDto getFourCont(String keyid);
    public abstract DataSimpDto getFiveCont(String keyid);*/
}
